package com.fare.taluo.auth.domain.repository;

import java.util.Date;
import java.util.List;

import com.dayatang.domain.EntityRepository;
import com.fare.taluo.auth.domain.UserInfoLogEntity;

public interface UserInfoLogRepositry extends EntityRepository{
	/**
	 * 检查登录用户是否已经登录
	*/
	public UserInfoLogEntity checkUserNmaeLogin(String userName);
	
	public void saveOrUpdate(UserInfoLogEntity entity);

	public int countUserOnline();

	public List<UserInfoLogEntity> findAll(Date loginTime, Date logoutTime);

	public void systemUpdate();
}
